<template>
  <div>
    <el-dialog title="关联促销活动" :visible.sync="dialogTableVisible">
      <seckillskurelation  ref="seckillskurelationRef"></seckillskurelation>
    </el-dialog>
  </div>
</template>

<script>
import promotionApi from '../../../../api/coupon/promotionApi'
import seckillskurelation from './seckillskurelation'
import Vue from 'vue'

export default {
  name: 'relatePromotionAndSession',
  components: {
    seckillskurelation
  },

  data () {
    return {
      promotionCurrentPage: 1,
      promotionSize: 10,
      relationData: null,
      dialogTableVisible: false,

    }
  },
  methods: {
    getPromotionListBySessionId (sessionId) {
      promotionApi.getListBySecKillSessionId(this.promotionCurrentPage, this.promotionSize, sessionId).then(({data}) => {
        console.log(data)
      })
    }
  },

  watch: {

  }
}
</script>

<style scoped>

</style>
